#pragma once
#include "SequenceList.h"

class LinerTest{
public:
	LinerTest();
};
void SequenceListTest() {
	SequenceList *s = new SequenceList(3);
	s->insert(1);
	s->insert(2);
	s->insert(3);
	s->insert(4);
	s->insert(5);
	
	s->show();
	printf("s->get(3); %d\n", s->get(3));
	printf("s->indexOf(4); %d\n", s->indexOf(4));
	printf("s->length(); %d\n", s->length());
	
	
	printf("s->remove(4); %d\n", s->remove(4));
	s->show();
	printf("s->length(); %d\n", s->length());
}

LinerTest::LinerTest() {
	SequenceListTest();
}